lean_data

Configuration for API to provide the report for lean data. resource.

Read/write properties

appname<String>

Application Name.
Maximum length = 255

ctnsappname<String>

Vserver name.
Maximum length = 255

throughput<Double>

Throughput.

rpt_sample_time<Double>

Report Sample time..

ip_address<String>

Netscaler IP Address..
Minimum length = 1
Maximum length = 64

total_bytes<Double>

Total bytes consumed..

total_requests<Double>

Total requests..

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/lean_data

Query-parameters:

asc

Use this query-parameter to specify whether the results should be in ascending order or not.

Possible Values:yes, no

order_by

Use this query-parameter to get the result that is ordered by the given property.

Possible Values:total_bytes, throughput, app_launch_count

report_start_time

Use this query-parameter to specify the start time from which the summary for report is considered.

Possible Values:time in seconds

report_end_time

Use this query-parameter to specify the end time until where summary for report is considered.

Possible Values:time in seconds

HTTPS Method:GET

HTTPS Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "lean_data":[{
      "appname":<String_value>,
      "ctnsappname":<String_value>,
      "throughput":<Double_value>,
      "rpt_sample_time":<Double_value>,
      "ip_address":<String_value>,
      "total_bytes":<Double_value>,
      "total_requests":<Double_value>}]}